package com.huatai.manage.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huatai.manage.entity.TbInfoSubjectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.manage.entity.TbTrialSubjectEntity;
import com.huatai.manage.vo.TbInfoSubjectVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 试验对象关联; Mapper 接口
 * </p>
 *
 * @author luoxc
 * @since 2023-03-21
 */
public interface TbInfoSubjectMapper extends BaseMapper<TbInfoSubjectEntity> {

	List<TbInfoSubjectVo> pageList(Page<TbInfoSubjectEntity> page,@Param("infoSubjectEntity") TbInfoSubjectEntity infoSubjectEntity);

	TbInfoSubjectVo getOneById(@Param("id") String id);

	List<TbInfoSubjectVo> infoList();

	List<TbInfoSubjectVo> getByTrialId(@Param("trialId") String trialId);
}
